<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>输入输出语句</title>
</head>
<body>
   <script>
        alert('你好 JS~')
        document.write('JavaScript 我来了')
        console.log('它~会魔法吧')
   </script>
</body>
</html>